package com.zhuimeng.guavahomework.controller;

import com.zhuimeng.guavahomework.pojo.Resume;
import com.zhuimeng.guavahomework.pojo.ResumeResult;
import com.zhuimeng.guavahomework.service.ResumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class ResumeController {
    @Autowired
    private ResumeService resumeService;
    @GetMapping("/")
    public ResumeResult getList(){
        return resumeService.getList();
    }
}
